package com.test.kf21th02.mapper;

import com.test.kf21th02.model.CategoryDTO;
import com.test.kf21th02.model.News;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zsy
 * @since 2025-11-04
 */
public interface NewsMapper extends BaseMapper<News> {

    List<News> queryAll(CategoryDTO dto);

    int saveNewsCategory(CategoryDTO dto);

}
